export const tableOption = {
  "border": true,

  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "column": [
    {
      "type": "input",
      "label": "id",
      "prop": "id",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "店家标题",
      "prop": "title"
    },
    {
      "type": "input",
      "label": "店家描述",
      "prop": "content"
    },
    {
      "label": "商店类型",
      "prop": "type",
      type: 'select',
      span: 24,
      value: 0,
      dicData: [
        {
          label: '美团',
          value: 0
        },
        {
          label: '饿了么',
          value: 1
        }
      ],
    },
    {
      type: 'upload',
      showFileList: true,
      multiple: false,
      limit: 10,
      "label": "宣传图",
      "prop": "img",
      span: 50,
      // action: '/admin/sys-file/upload',
      listType: 'picture-img',
      propsHttp: {
        name: 'hash',
        url: "key"
      },
      loadText: '附件上传中，请稍等',
      oss: 'qiniu',
      hide:true,
      "addDisplay": false,
      "editDisplay": false
    },
    {
      type: 'upload',
      showFileList: true,
      multiple: false,
      limit: 10,
      "label": "背景图",
      "prop": "bgimg",
      span: 50,
      // action: '/admin/sys-file/upload',
      listType: 'picture-img',
      propsHttp: {
        name: 'hash',
        url: "key"
      },
      loadText: '附件上传中，请稍等',
      oss: 'qiniu',
      rules: [
        {
          required: true,
          message: "没上传图",
          trigger: "blur"
        }
      ],
      hide:true,
      "addDisplay": false,
      "editDisplay": false
    },
    {
      type: 'upload',
      showFileList: true,
      multiple: false,
      limit: 10,
      "label": "图片",
      "prop": "bqimg",
      span: 50,
      // action: '/admin/sys-file/upload',
      listType: 'picture-img',
      propsHttp: {
        name: 'hash',
        url: "key"
      },
      loadText: '附件上传中，请稍等',
      oss: 'qiniu',
      rules: [
        {
          required: true,
          message: "没上传图",
          trigger: "blur"
        }
      ]
    },
    {
      // "label": "店家状态1开业2关闭3打烊",
      "label": "店家状态",
      "prop": "status",
      type: 'select',
      span: 24,
      display: true,
      value: 1,
      dicData: [
        {
          label: '未知',
          value: 0
        },
        {
          label: '开业',
          value: 1
        },
        {
          label: '关闭',
          value: 2
        },
        {
          label: '打烊',
          value: 3
        }
      ],
    },
    {
      "label": "店家分类",
      "prop": "shoptype",
      type: 'select',
      cascaderItem: [],
      span: 24,
      display: true,
      props: {
        label: 'name',
        value: 'id'
      },
      dicUrl: '/demo/lx/list',
      dicMethod: 'get'
    },
    {
      "type": "input",
      "label": "商家合作链接",
      "prop": "link"
    },
    {
      "type": "input",
      "label": "维度",
      "prop": "longitude"
    },
    {
      "type": "input",
      "label": "经度",
      "prop": "latitude"
    },
    {
      "type": "input",
      "label": "城市",
      "prop": "city"
    },
    {
      "type": "input",
      "label": "区域",
      "prop": "area"
    },
    {
      "type": "input",
      "label": "详细地址",
      "prop": "address"
    },
    {
      "type": "input",
      "label": "人均",
      "prop": "per"
    },
    {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "创建人",
      "prop": "createBy",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    },
    {
      "type": "input",
      "label": "更新人",
      "prop": "updateBy",
      "addDisplay": false,
      "editDisplay": false,
      hide:true
    }
  ]
}
